package com.ftg.youx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ftg.youx.entity.SysEmp;
import com.ftg.youx.mapper.SysEmpMapper;
import com.ftg.youx.service.SysEmpService;
import com.ftg.youx.vo.OrdEmpIdVo;
import io.seata.spring.annotation.GlobalTransactional;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 实现类
 * @author 布衣
 */
@Service
public class SysEmpServiceImpl extends ServiceImpl<SysEmpMapper, SysEmp> implements SysEmpService {

    @GlobalTransactional
    @Override
    public List<OrdEmpIdVo> getOrderEmpId() {
        return this.getBaseMapper().getOrderEmpId();
    }
}
